package taskMap

import (
	"github.com/gogf/gf/container/gmap"
	"github.com/gogf/gf/container/gtype"
	"time"
)

const Path = "logs/send_map.txt"
const IntervalTime = 5 * time.Second
const IntervalSleepTime = 200 * time.Millisecond
const SendTimeBlockTime = 1 * time.Minute

var M *gmap.ListMap

type SendMap struct {
	Type           *gtype.String
	FromUserID     *gtype.String
	ToUserID       *gtype.String
	Content        *gtype.String
	ChatType       *gtype.String
	TimeStamp      *gtype.Int
	MsgUid         *gtype.String
	PrivateGroupId *gtype.String
}

var CsUser *gmap.ListMap

type CsUserMap struct {
	Type      *gtype.String
	Uid       *gtype.String
	TimeStamp *gtype.Int
}